package com.owen.pojo;

import java.io.Serializable;

/**
 * 水果实体类
 */
public class Fruits implements Serializable {

    // 主键ID
    private Long id;

    // 分布地区
    private String subRegion;

    // 水果名
    private String name;

    public Fruits() {
    }

    public Fruits(Long id, String subRegion, String name) {
        this.id = id;
        this.subRegion = subRegion;
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSubRegion() {
        return subRegion;
    }

    public void setSubRegion(String subRegion) {
        this.subRegion = subRegion;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Fruits{" +
                "id=" + id +
                ", subRegion='" + subRegion + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}